package com.vogue.family.data.entity;

import java.io.Serializable;

/**
 * 接口返回值包装
 * @param <T>
 */
public class BaseResponse<T> implements Serializable {

     private String msg;
     private Integer code;
     private T data;

     public String getMsg() {
          return msg;
     }

     public void setMsg(String msg) {
          this.msg = msg;
     }

     public Integer getCode() {
          return code;
     }

     public void setCode(Integer code) {
          this.code = code;
     }

     public T getData() {
          return data;
     }

     public void setData(T data) {
          this.data = data;
     }
}
